@charset "UTF-8";
// 修改element-plus中组件的默认样式
.el-card {
  border-radius: 8px;
  border: none;
}

.el-menu {
  border: none;
}

.el-menu.el-menu--horizontal {
  border: none;
}

.el-menu-item-group {
  .el-menu-item-group__title {
    display: none !important;
  }
}

.el-menu-item.is-active{
  color: @primary!important;
}

.el-radio-group {
  .el-radio {
    margin-right: 15px;
    font-size: 12px;
    color: @secondary!important;

    .el-radio__input {
      .el-radio__inner {
        border-color: @border-info;
      }
    }
  }
}

.el-radio__input.is-checked .el-radio__inner {
  //color: @primary!important;
  background-color: @primary!important;
  border-color: @primary!important;
}

.el-radio__input.is-checked + .el-radio__label {
  color: @secondary!important;
}

.el-radio-button__orig-radio:checked + .el-radio-button__inner {
  box-shadow: unset;
}
.el-pagination .btn-prev .el-icon, .el-pagination .btn-next .el-icon{
  display: inline-block;
}

.el-dialog {
  max-width: 500px;
  margin-top: 10vh !important;
  border-radius: 12px!important;
  .el-dialog__header {
    border-radius:12px 12px 0 0;
    background-color: @primary-plain;
    .el-dialog__headerbtn{
      .el-icon-close{
        color: rgb(193,196,203);
        font-weight: bold;
        &::before{
          border: 2px solid rgb(193,196,203);
          border-radius: 50%;
          padding: 3px;
        }
      }
    }
    .el-dialog__title {
      font-size: 20px;
      color: @primary;
      font-weight: 500;
    }
    i {
      color: #757070;
    }
  }

  .el-dialog__body {
    padding: 25px 30px 10px;
    max-height: 60vh;
    overflow: auto;
    font-size: 16px;
    color: @title;
    line-height: 24px;
  }

  .el-dialog__footer {
    display: flex;
    justify-content: flex-end;
    .el-button{
      width: 96px;
      height: 32px;
    }
  }
}

.el-form{
  .el-from-item{
    .el-form-item__label{
      color: @title!important;
    }
    .el-form-item__content{
      line-height: unset;
    }
  }
}
.el-form--label-top .el-form-item__label{
  padding-bottom: 0;
}

.el-steps {
  height: 33px;
  padding-top: 24px;

  .el-step {
    .el-step__head {
      .el-step__line {
        background-color: #F3F5FA;
        position: relative;
        .el-step__line-inner:before{
          content: '';
          position: absolute;
          left: 0;
          top: 0;
          width: 2px;
          height: 2px;
          background-color: white;
        }
      }

      .el-step__icon {
        background-color: #F3F5FA;
        border: 1px solid #E0E2E5;
        color: #C1C4CB;
      }
    }

    .el-step__head.is-success {
      .el-step__line{
        background-color: @success;
      }
      .el-step__icon{
        background-color: @success;
        border-color: @success;
        color: #FFFFFF;
      }
    }
    .el-step__head.is-process {
      .el-step__icon{
        border-color: @success;
        color: @success;
        background-color: #FFFFFF;
      }
    }
  }
}

.el-input{
  border-color: @border-info!important;
  .el-input__inner{
    &:focus{
      border-color: @primary;
    }
  }
  .el-input__suffix{
    font-size: 20px;
    color: #606060;
    right: 10px;
    cursor: pointer;
    &:deep(.el-input__suffix-inner){
      display: flex;
      align-items: center;
      justify-content: center;
    }
  }
}

.el-pagination {
  margin-top: 15px;
  text-align: center;
  .el-select {
    &:hover {
      .el-input__inner {
        border-color: rgb(62, 101, 216) !important;
      }
    }
  }

  .el-input {
    .el-input__inner {
      color: rgb(76, 90, 121);
      //border-color: rgb(62,101,216)!important;
    }
  }

  .el-select .el-input.is-focus .el-input__inner {
    border-color: rgb(63, 102, 216) !important;
    box-shadow: 0 0 0 3px rgb(216, 224, 247);
  }

  .el-pager {
    li {
      &:hover {
        background-color: @primary-active;
        color: #FFFFFF;
      }
    }
    li:not(.disabled).active {
      background-color: @primary!important;
      color: #fff;
    }
    li:not(.disabled):hover{
      background-color: @primary-active!important;
      color: #FFFFFF!important;
    }
  }
}

.el-table{
  thead{
    tr{
      th{
        font-size: 12px;
        color: @secondary;
      }
    }
  }
  .el-table__body-wrapper{
    .el-table__body{
      .el-table__row{
        td{
          .cell{
            color: @subtitle;
          }
        }
      }
    }
  }
  .el-table__empty-block{
    .el-table__empty-text{
      display: flex;
      align-items: center;
      justify-content: center;
      .empty-box{
        width: 320px;
        display: flex;
        flex-direction: column;
        .empty-img{
          margin: 120px 0 80px;
        }
        span{
          cursor: pointer;
        }
      }
    }
  }
}
.el-table-filter{
  margin: 13px 10px 0 0!important;
}
.el-dropdown-menu {
  padding: 0 !important;
}

.el-tabs {
  .el-tabs__header {
    .el-tabs__nav-wrap {
      .el-tabs__nav-scroll {
        .el-tabs__nav {
          .el-tabs__active-bar {
            background-color: @primary;
          }
          .el-tabs__item{
            color: @secondary;
          }
          .el-tabs__item.is-active, .el-tabs__item:hover {
            color: @primary;
          }
        }
      }
    }
  }
}
.el-checkbox {
  vertical-align: middle;
  margin-right: 5px;

  .el-checkbox__label {
    font-size: 12px;
    color: @secondary!important;
  }

  .el-checkbox__inner {
    border-radius: 2px;

    &:hover {
      border-color: @primary;
    }
  }

  .el-checkbox__input.is-checked .el-checkbox__inner, .el-checkbox__input.is-indeterminate .el-checkbox__inner {
    background-color: @primary;
    border-color: @primary;
  }

  .el-checkbox__label {
    color: @title;
  }
}
.el-checkbox.is-checked{
  .el-checkbox__label{
    color: @primary!important;
  }
}
.el-dropdown-menu__item:focus, .el-dropdown-menu__item:not(.is-disabled):hover{
  background-color: #ecf5ff;
  color: #66b1ff;
}
.el-popper__arrow{
  display: none;
}

.el-button {
  font-weight: 500;
  border-radius: 4px;
  transition: all .2s;
}
.el-button--default{
  &:hover,&:focus{
    border-color: @primary-active;
    color: @primary;
  }
}
.el-button--default.is-plain{
  color: @secondary;
  border-color: @border-info;
  &:hover,&:focus{
    border-color: @primary;
    color: @primary;
  }
}

.el-button--primary {
  background-color: @primary;
  border-color: @primary;
  color: #FFFFFF;

  &:hover,&:focus {
    background-color: @primary-active;
    border-color: @primary-active;
    color:#FFFFFF;
  }
}

.el-button--primary.is-plain {
  color: @primary;
  background-color: @primary-plain;
  border-color: @primary;

  &:hover,&:focus {
    border-color: @primary;
    background-color: @primary;
    color: #FFFFFF;
  }
}

.el-button--success {
  background-color: @success;
  border-color: @success;
  color: #FFFFFF;

  &:hover,&:focus {
    background-color: @success-active;
    border-color: @success-active;
  }
}

.el-button--success.is-plain {
  color: @success;
  background-color: @success-plain;
  border-color: @success;
  &:hover,&:focus {
    border-color: @success;
    background-color: @success;
    color: #FFFFFF;
  }
}

.el-button--warning {
  background-color: @warning;
  border-color: @warning;
  color: #FFFFFF;

  &:hover,&:focus {
    background-color: @warning-active;
    border-color: @warning-active;
  }
}

.el-button--warning.is-plain {
  border-color: @warning;
  color: @warning;
  background-color: @warning-plain;
  &:hover,&:focus {
    border-color: @warning;
    background-color: @warning;
    color: #FFFFFF;
  }
}
.el-button--danger{
  background-color: @danger;
  border-color: @danger;
  color: #FFFFFF;

  &:hover,&:focus {
    background-color: @danger-active;
    border-color: @danger-active;
  }
}

.el-button--danger.is-plain {
  color: @danger;
  border-color: @danger;
  background-color: @danger-plain;
  &:hover,&:focus {
    border-color: @danger;
    background-color: @danger;
    color: #FFFFFF;
  }
}

.el-tag--light.el-tag--primary{
  color: @primary;
}

.el-tag--light.el-tag--success{
  color: @success;
}

.el-tag--light.el-tag--warning{
  color: @warning;
}

.el-tag--light.el-tag--danger{
  color: @danger;
}

.el-link.el-link--default:hover{
  color: @primary;
}
.el-link.el-link--primary {
  color: @primary;
}
.el-link--primary:hover{
  color: @primary-active;
}
.el-link.el-link--success{
  color: @success;
}
.el-link--success:hover{
  color: @success-active;
}
.el-link.el-link--warning {
  color: @warning;
}
.el-link--warning:hover{
  color: @warning-active;
}
.el-link.el-link--danger {
  color: @danger;
}
.el-link--danger:hover{
  color: @danger-active;
}
.el-alert{
  padding: 8px 16px;
}
.el-alert--warning.is-light{
  border-radius: 6px;
  letter-spacing: 0.4px;
  color: @warning;
  background-color: @warning-plain;
  border: 1px solid @warning;
  .el-alert__icon{
    color: @warning;
    display: flex;
    align-items: center;
  }
}

.el-alert--danger.is-light{
  border-radius: 6px;
  letter-spacing: 0.4px;
  color: @danger;
  background-color: @danger-plain;
  border: 1px solid @danger;
  .el-alert__icon{
    color: @danger;
    display: flex;
    align-items: center;
  }
}
.el-progress {
  .el-progress-bar__inner{
    background-color: @primary;
  }
  .el-progress__text{
    display: none;
  }
}
.el-progress.is-success .el-progress-bar__inner{
  background-color: @success;
}
.el-progress.is-warning .el-progress-bar__inner{
  background-color: @warning;
}
.el-progress.is-exception .el-progress-bar__inner{
  background-color: @danger;
}
.el-drawer{
  padding: 120px 32px 32px;
}

.el-breadcrumb{
  display: flex;
  .el-breadcrumb__item{
    display: flex;
    align-items: center;
    .el-breadcrumb__separator{
      width: 1px!important;
      color: #dcdfe6;
      font-weight: normal;
      transform: rotate(90deg);
      margin: 0 10px 12px;
    }
  }
}
